// pages/2411Ayiliao-pages/inpatient/bind-number.js
Page({
	data: {
		patientList: [
			{
				name: '蒋林',
				relationship: '兄弟',
				idNumber: '622*********0909'
			},
			{
				name: '蒋林',
				relationship: '父母',
				idNumber: '622*********0909'
			}
		]
	},

	selectPatient(e) {
		const patient = e.currentTarget.dataset.patient
		// 存储选中的患者信息
		wx.setStorageSync('selectedPatient', patient)
		
		// 跳转到确认信息页面
		wx.navigateTo({
			url: '/pages/2411Ayiliao-pages/inpatient/confirm-info'
		})
	}
}) 